<template>
	<!-- <el-config-provider :locale="locale"> -->
	<router-view />
	<!-- </el-config-provider> -->
</template>


<script setup>
	//  	import { ElConfigProvider } from 'element-plus'
	// import en from 'element-plus/lib/locale/lang/en'
	//  	const locale = en;
	// console.log(locale)

	// 判断是否登录
	if (!localStorage.getItem('login')) {
		// 未登录
		const router = useRouter();
		router.push('/login')
	} else {
		//已登录
	}
</script>
<style>

</style>
<style lang="scss">
	@import "@/assets/iconfont/iconfont.css";
	@import "@/assets/public.scss";

	.root {
		position: relative;
		background: #fff;
		padding: 0 10px 10px;
		border-radius: 8px;
		box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);
		min-height: 91.3vh;
	}

	html.dark {
		.root {
			background: #161616;
		}
	}

	/* 拖拽组件样式 */
	.flip-list-move {
		transition: transform 0.5s;
	}

	.no-move {
		transition: transform 0s;
	}

	.ghost {
		opacity: 1;
		background: #eee;
	}

	.list-group-item {
		cursor: move;
	}

	/* 拖拽组件样式 */
</style>
